﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace AutoPartsSearch.Domain.Entities
{
    [Serializable]
    public class SearchQuery
    {
        public int Id { get; set; }

        public string PartName { get; set; }
        public Dictionary PartGroup { get; set; }
        public string PartCatalogNumber { get; set; }
        public Dictionary PartType { get; set; }
        public Dictionary PartState { get; set; }
        [DataType(DataType.MultilineText)]
        public string PartDescription { get; set; }

        public Dictionary CarType { get; set; }
        public int CarYear { get; set; }
        public Dictionary CarBrand { get; set; }
        public string CarModel { get; set; }
        public string CarModification { get; set; }
        public string CarVin { get; set; }
        public string CarEngine { get; set; }
        public Dictionary CarCase { get; set; }
        public Dictionary CarTransmission { get; set; }
        public Dictionary CarDrive { get; set; }
        public Dictionary CarFuelType { get; set; }

        public Dictionary City { get; set; }
        public string Name { get; set; }
        public string Phone { get; set; }
        public string Phone2 { get; set; }
        public string Email { get; set; }
        public string Comment { get; set; }

        public DateTime Created { get; set; }

    }
}
